package com.example.wordcardjavaproject.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.wordcardjavaproject.bean.entity.Word;
import com.example.wordcardjavaproject.bean.form.QueryWord;
import com.example.wordcardjavaproject.bean.form.ResultWord;
import org.springframework.web.multipart.MultipartFile;

public interface WordService extends IService<Word> {
    ResultWord selectWordList(QueryWord queryWord);
    void updateWord(Word word);
    void addWordByFile(MultipartFile file, Long userId) throws Exception;
    void addWordByWeb(Word word);
    void deleteWord(Word word);
}
